<!DOCTYPE html>
<html>
<head>
    <title>授权失败</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 50px; }
        .error-container { max-width: 600px; margin: 0 auto; text-align: center; }
        .error { color: red; }
    </style>
</head>
<body>
    <div class="error-container">
        <h1 class="error">授权失败</h1>
        <p>错误类型: {{ error }}</p>
        <p>错误描述: {{ error_description }}</p>
        <a href="{% url 'amazon_auth' %}">重新授权</a>
    </div>
</body>
</html>